package com.offdisys.feignapi.userinfo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ZhangHaiWen
 * @title: UserInfoService
 * @projectName offline-discount-sys
 * @description: TODO
 * @date 2022/3/2121:28
 */
@FeignClient(value = "UserModule")
public interface UserInfoService {

    @GetMapping(value = "/userinfo/find/{id}")
    Object find(@PathVariable(value = "id") int id);

}
